package com.harunasan.carrental.api.serve.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.harunasan.carrental.api.serve.domain.entity.CmsCar;
import com.harunasan.carrental.api.serve.domain.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.harunasan.carrental.api.serve.domain.vo.OrderDetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author 梁毅
 * @since 2022-03-07 23:00:58
 */
public interface OrderMapper extends BaseMapper<Order> {
    IPage<Order> pageList(IPage<?> objectPage, @Param(Constants.WRAPPER) Wrapper<?> queryWrapper);

    OrderDetailVo getOrderAllDetail(@Param(Constants.WRAPPER) Wrapper<?> queryWrapper);
}
